package util

import (
	"encoding/json"
	"log"
)


func ToJsonString(v interface{}) string {
	res,err:=json.Marshal(v)
	if err!=nil {
		log.Println("转换错误")
	}
	return string(res)
}
